<!-- 安全管理|edit:编辑,delete:删除,add:添加-->
<div class="layui-col-xs6 layui-col-md12">

    <!-- 搜索框 -->
    <form class="layui-form" action="">
        <div class="layui-form-item layui-col-md12 layui-col-xs12">
            <div class="layui-input-inline" id='sel-car'>
                <input type="hidden" name="car_id" value="{$Think.get.car_id}" class="car_id">
                <input type="text" name="number" placeholder="点击选择车辆" autocomplete="off" class="layui-input number" readonly="readonly" value="{$Think.get.number}">
            </div>
            <div class="layui-input-inline">
                <input type="text" class="layui-input" id="test6" name="between" placeholder="事故发生时间范围" readonly="readonly" value="{$Think.get.between}">
            </div>
            <button class="layui-btn layui-btn-normal">
                <span>查询</span>
            </button>
            <button type="reset" class="layui-btn layui-btn-primary reset">重置</button>
        </div>

    </form>
    <!-- 车辆操作 -->
    <div>
        <div class="layui-btn-group" style="width: 100%;">
            <button class="layui-btn layui-btn-sm layui-btn-primary" id="add" data-btn='add'>
                <i class="layui-icon">&#xe654;</i>
            </button>
            <button class="layui-btn layui-btn-sm layui-btn-primary delete-multiple" data-btn='delete'>
                <!-- <i class="layui-icon">&#xe642;</i> -->
                <i class="layui-icon">&#xe640;</i>
            </button>     
        </div>
    </div>
    <!-- 表单 -->
    <div class="table_margin_0">
        <table class="layui-hide" id="accident" lay-filter="demo"></table>
    </div>
    <!-- 分页 -->
    <div id="page"></div>
</div>
</div>
<script type="text/html" id="demo">
    <a class="layui-btn layui-btn-xs" lay-event="edit" data-btn='edit'>编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del" data-btn='delete'>删除</a>
 </script>
 <script type="text/html" id="carId">
    {{# if(d.plate_no  ){ }}
    <a href="{:url('html/car/car_detail')}?car_id={{d.car_id}}&number={{d.plate_no}}" class="layui-table-link">{{ d.plate_no }}</a>
     {{# } else { }}
      暂无车牌 
      {{# } }}
</script>